﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SpeechLib;


namespace SpeechRecognition
{
	class Speech
	{
		static SpVoice voice;

		/**
		 * Automagically Executed Once per program execution
		 */
		public static void init()
		{
			Speech.voice = new SpVoice();
		}

		public static void Speak(string script)
		{
			Speech.voice.Speak(script, SpeechVoiceSpeakFlags.SVSFDefault);
		}
	}
}
